.div {
    width: 100%;
    height: 100%;
    position: relative;
}

table, table tr th, table tr td {
    border: 1px solid #000;
    width: 50px;
    padding: 5px;
    white-space: nowrap;
}

table {
    line-height: 25px;
    text-align: center;
    border-collapse: collapse;
    padding: 20px;
    width: 100%;
    overflow-x: auto;
    margin-top: 30px;
}

